package www.woniuxy.com.class112.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import www.woniuxy.com.class112.entity.AgriculturalMarket;
import www.woniuxy.com.class112.entity.AgriculturalMarketExample;

public interface AgriculturalMarketMapper {
    long countByExample(AgriculturalMarketExample example);

    int deleteByExample(AgriculturalMarketExample example);

    int deleteByPrimaryKey(Long productId);

    int insert(AgriculturalMarket record);

    int insertSelective(AgriculturalMarket record);

    List<AgriculturalMarket> selectByExample(AgriculturalMarketExample example);

    AgriculturalMarket selectByPrimaryKey(Long productId);

    int updateByExampleSelective(@Param("record") AgriculturalMarket record, @Param("example") AgriculturalMarketExample example);

    int updateByExample(@Param("record") AgriculturalMarket record, @Param("example") AgriculturalMarketExample example);

    int updateByPrimaryKeySelective(AgriculturalMarket record);

    int updateByPrimaryKey(AgriculturalMarket record);

    void selectProduct(AgriculturalMarket toBean);
}